Platform Explorer / Nuxeo Platform 5.8

Contribution studio.extensions.nuxeo-jenkins-report--actions

This contribution is part of XML component studio.extensions.nuxeo-jenkins-report inside nuxeo-jenkins-report-3.2.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="TAB_VIEW">
          <filter id="jenkinsreport.deny.tab_view">
            <rule grant="false">
              <type>JenkinsReport</type>
            </rule>
          </filter>
        </action>
  • <action id="TAB_CONTENT">
          <filter id="jenkinsreportscontainer.deny.tab_content">
            <rule grant="false">
              <type>JenkinsReportsContainer</type>
            </rule>
          </filter>
        </action>
  • <action enabled="true" icon="/img/jenkins_send_email.png" id="JenkinsReportSendMail" immediate="false" label="Send Mail" link="#{operationActionBean.doOperation('JenkinsReportSendMail')}" order="0" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter id="filter@JenkinsReportSendMail">
            <rule grant="true">
              <type>JenkinsReport</type>
            </rule>
          </filter>
        </action>
  • <action id="JenkinsReportContainerSummary" label="action.view.summary" link="/studio_tabs/studio_tab_JenkinsReportContainerSummary.xhtml" order="0" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="filter@tab@JenkinsReportContainerSummary">
            <rule grant="true">
              <type>JenkinsReportsContainer</type>
            </rule>
          </filter>
        </action>
  • <action id="JenkinsReportSummary" label="action.view.summary" link="/studio_tabs/studio_tab_JenkinsReportSummary.xhtml" order="0" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="filter@tab@JenkinsReportSummary">
            <rule grant="true">
              <type>JenkinsReport</type>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_add.gif" id="newJenkinsReport" label="New Jenkins report" link="#{documentActions.createDocument('JenkinsReport')}">
        
          <category>SUBVIEW_UPPER_LIST</category>
        
          <filter id="newJenkinsReport">
          
            <rule grant="true">
            
              <permission>AddChildren</permission>
            
              <type>JenkinsReportsContainer</type>
          
            </rule>
        
          </filter>
      
        </action>
  • <action id="JenkinsReportSendMail">
        
          <properties>
          
            <property name="confirmMessage">label.jenkins.sendMail.confirm</property>
          
            <propertyList name="confirmMessageArgs">
            
              <value>#{docSuggestionActions.getDocumentWithId(currentSuperSpace.id).getPropertyValue('jenkinsreports:report_email')}</value>
          
            </propertyList>
        
          </properties>
      
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
    <action id="TAB_VIEW">
      <filter id="jenkinsreport.deny.tab_view">
        <rule grant="false">
          <type>JenkinsReport</type>
        </rule>
      </filter>
    </action>
    <action id="TAB_CONTENT">
      <filter id="jenkinsreportscontainer.deny.tab_content">
        <rule grant="false">
          <type>JenkinsReportsContainer</type>
        </rule>
      </filter>
    </action>
    <action enabled="true" icon="/img/jenkins_send_email.png" id="JenkinsReportSendMail" immediate="false" label="Send Mail" link="#{operationActionBean.doOperation('JenkinsReportSendMail')}" order="0" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter id="filter@JenkinsReportSendMail">
        <rule grant="true">
          <type>JenkinsReport</type>
        </rule>
      </filter>
    </action>
    <action id="JenkinsReportContainerSummary" label="action.view.summary" link="/studio_tabs/studio_tab_JenkinsReportContainerSummary.xhtml" order="0" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="filter@tab@JenkinsReportContainerSummary">
        <rule grant="true">
          <type>JenkinsReportsContainer</type>
        </rule>
      </filter>
    </action>
    <action id="JenkinsReportSummary" label="action.view.summary" link="/studio_tabs/studio_tab_JenkinsReportSummary.xhtml" order="0" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="filter@tab@JenkinsReportSummary">
        <rule grant="true">
          <type>JenkinsReport</type>
        </rule>
      </filter>
    </action>

  
    <action icon="/icons/action_add.gif" id="newJenkinsReport" label="New Jenkins report" link="#{documentActions.createDocument('JenkinsReport')}">
    
      <category>SUBVIEW_UPPER_LIST</category>
    
      <filter id="newJenkinsReport">
      
        <rule grant="true">
        
          <permission>AddChildren</permission>
        
          <type>JenkinsReportsContainer</type>
      
        </rule>
    
      </filter>
  
    </action>



  
    <action id="JenkinsReportSendMail">
    
      <properties>
      
        <property name="confirmMessage">label.jenkins.sendMail.confirm</property>
      
        <propertyList name="confirmMessageArgs">
        
          <value>#{docSuggestionActions.getDocumentWithId(currentSuperSpace.id).getPropertyValue('jenkinsreports:report_email')}</value>
      
        </propertyList>
    
      </properties>
  
    </action>

  </extension>